home *** CD-ROM | disk | FTP | other *** search
- Path: news.ust.hk!ee_chung
- From: ee_chung@uxmail.ust.hk (Chu Shiu Chung)
- Newsgroups: comp.lang.c
- Subject: Is it possible?
- Date: 24 Jan 1996 15:58:18 GMT
- Organization: The Hong Kong University of Science and Technology
- Message-ID: <4e5kuq$9i7@news.ust.hk>
- NNTP-Posting-Host: ustsu4.ust.hk
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- Hello,
-
- If I have declare the following:
- #define FILENUM 12
-
- Is it possible to make the compiler to replace this in printf:
- printf("FILENUM is the number of files");
- instead of
- printf("%d is the number of files", FILENUM);
-
- Just like what the compiler do in: int a=FILENUM;
-
- Thanks! :>
-
- C.S.C.
-